package it.txt.ens.core.util.validator;

public final class BrokerPortValidator {

    public static final int MIN_PORT_NUMBER = 0;
    public static final int MAX_PORT_NUMBER = 65535;
    public static boolean isValid (int brokerPort) {
        return brokerPort >= MIN_PORT_NUMBER && brokerPort <= MAX_PORT_NUMBER;
    }    
}
